﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="Gmis.Web.index" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>党务村务信息化管理系统</title>
    <link rel="stylesheet" href="Css/index.css" />
    <script src="Scripts/JqueryUI/jquery-1.8.0.js" type="text/javascript"></script>   
    <link rel="stylesheet" href="themes/base/jquery.ui.all.css">
	<script src="Scripts/JqueryUI/ui/jquery.ui.core.js" type="text/javascript"></script>
	<script src="Scripts/JqueryUI/ui/jquery.ui.widget.js" type="text/javascript"></script>
	<script src="Scripts/JqueryUI/ui/jquery.ui.accordion.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $("#accordion").accordion({ collapsible: true });
        });
    </script>
    <!--[if IE 6]>

<script src="/js/iepng.js" type="text/javascript"></script>

<script type="text/javascript">

   EvPNG.fix('div,ul,img,li,input,a,img,p,span');

</script>

<![endif]-->
 <script type="text/javascript" src="Scripts/index.js"></script>
    <script type="text/javascript">
        function showTime() { 
            var date = new Date();
            var d = document.getElementById("idDate");
            if (d)
                d.innerHTML = unescape(date.pattern("yyyy-MM-dd hh:mm:ss EEE")); //  year + '年' + month + '月' + day + '日' + ' ' + hours + ':' + minute + ':' + seccond + ' ' + mon[date];
            else {
                //alert("null");
            }
        }
        window.setInterval(showTime, 1);

        function search() {
            var str = $("#keyword").val();
            if (str == "") return false;
            window.open("UI/NewsSearch.aspx?keyword=" + str);
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="box">
        <div id="head">
            <div class="bn">
                <img src="images/j01.jpg" alt="" />
            </div>
            <div class="naveq">
                <p id="idDate" class="time">
                </p>
                <div class="serchin">
                    <label><strong>关键字：&nbsp;</strong></label>
                    <input class="ipta" style="border: #ccc 1px solid;width: 200px" id="keyword" name="word" />&nbsp;
                    <input type="button" class="sbtna" onclick="search();" src="/images/g07.gif" />
                </div>
            </div>
        </div>

        <div id="con" class="mt_10">
            <div class="conleft fl">

                <div class="fouspic fl">
                   <%-- <div id="FocusViewer_1">
                        <h3>新闻视频>></h3>
                    </div>--%>
                    
                    <div id="accordion">
	                    <h3><a href="#">党支部</a></h3>
	                    <div style="vertical-align:top">
		                  <%=GetPartyOrg()%>
	                    </div>

	                    <h3><a href="#">村委会</a></h3>
	                     <div style="vertical-align:top">
		                  <%=GetVillageOrg()%>
	                    </div>

	                    <h3><a href="#">村民议事会</a></h3>
	                     <div style="vertical-align:top">
		                   <%=GetVSendoOrg()%>
	                    </div>

	                    <h3><a href="#">民主议事会</a></h3>
	                    <div style="vertical-align:top">
		                   <%=GetDSendoOrg()%>
	                    </div>

                          <h3><a href="#">村务监督小组</a></h3>
	                     <div style="vertical-align:top">
		                   <%=GetVSuperviseOrg()%>
	                    </div>

                          <h3><a href="#">财务理财监督小组</a></h3>
	                     <div style="vertical-align:top">
		                  <%=GetFSuperviseOrg()%>
	                    </div>
                        </div>

                    <%--<asp:Literal ID="ltl_Flv" runat="server"></asp:Literal>--%>
                    <%-- <script type="text/javascript" src="Scripts/bairongflash.js"></script>
                    <script type="text/javascript">
                        var FocusViewer_1_focus_width = 293
                        var FocusViewer_1_focus_height = 235
                        var FocusViewer_1_text_height = 25
                        var FocusViewer_1_swf_height = FocusViewer_1_focus_height + FocusViewer_1_text_height

                        var FocusViewer_1_pics = '/upload/2011/10/911233175.jpeg|/upload/2011/10/911111970.jpeg|/upload/2011/10/9105948782.jpeg|/upload/2011/10/9105759247.jpeg|/upload/2011/10/9104915928.jpeg'
                        var FocusViewer_1_links = '/contents/9/30.html|/contents/9/29.html|/contents/9/28.html|/contents/9/27.html|/contents/9/26.html'
                        var FocusViewer_1_texts = '%e5%85%9a%e5%91%98%e5%85%b3%e7%88%b1%e5%9f%ba%e9%87%91|%e5%ba%86%e7%a5%9d%e5%bb%ba%e5%85%9a%e4%b9%9d%e5%8d%81%e5%91%a8%e5%b9%b4%e5%a4%a7%e4%bc%9a|%e6%80%9d%e4%ba%b2%e5%a0%82%e9%81%93%e8%b7%af%e6%94%b9%e6%89%a9%e5%bb%ba%e6%8b%9b%e6%8a%95%e6%a0%87|%e6%9d%91%e4%b8%a4%e5%a7%94%e4%b8%8b%e7%94%b0%e6%8c%87%e5%af%bc%e5%86%9c%e4%b8%9a%e7%94%9f%e4%ba%a7|%e7%a6%8f%e5%b7%9e%e5%b8%82%e5%85%9a%e5%bb%ba%e7%8e%b0%e5%9c%ba%e4%bc%9a'

                        var FocusViewer_1_FocusFlash = new bairongFlash("flash/focusviewer.swf", "focusflash", FocusViewer_1_focus_width, FocusViewer_1_swf_height, "7", "#DADADA", false, "High");
                        FocusViewer_1_FocusFlash.addParam("allowScriptAccess", "sameDomain");
                        FocusViewer_1_FocusFlash.addParam("menu", "false");
                        FocusViewer_1_FocusFlash.addParam("wmode", "transparent");

                        FocusViewer_1_FocusFlash.addVariable("pics", FocusViewer_1_pics);
                        FocusViewer_1_FocusFlash.addVariable("links", FocusViewer_1_links);
                        FocusViewer_1_FocusFlash.addVariable("texts", FocusViewer_1_texts);
                        FocusViewer_1_FocusFlash.addVariable("borderwidth", FocusViewer_1_focus_width);
                        FocusViewer_1_FocusFlash.addVariable("borderheight", FocusViewer_1_focus_height);
                        FocusViewer_1_FocusFlash.addVariable("textheight", FocusViewer_1_text_height);
                        FocusViewer_1_FocusFlash.write("FocusViewer_1"); 
                    </script>--%>
                </div>

                <div class="fousnew fr">
                    <div class="tapmenu">
                        <ul>
                            <li class="tap">村庄概况</li>
                        </ul>
                        <span>
                            <%--<a href="#">更多>></a>--%></span>
                    </div>
                    <div class="tap_con">
                        <%=GetVillage() %>
                    </div>
                </div>

                <div class="ad mt_10 fl"><a href="#"><img src="images/j03.jpg" alt="" /></a></div>

                <div class="mt_10 fl car">
                    <h3>
                        村庄风貌<span class="morea"><a href="#">更多>></a></span></h3>
                    <div id="demo">
                        <table id="indemo" cellpadding="0" cellspacing="0" border="0">
                            <tr>
                                <td id="demo1">
                                    <table cellpadding="0" cellspacing="0" border="0">
                                        <tr>
                                            <%=GetImage() %>
                                        </tr>
                                    </table>
                                </td>
                                <td id="demo2">
                                </td>
                            </tr>
                        </table>
                        <script type="text/javascript">
                            var speed = 10; //数字越大速度越慢
                            var tab = document.getElementById("demo");
                            var tab1 = document.getElementById("demo1");
                            var tab2 = document.getElementById("demo2");
                            tab2.innerHTML = tab1.innerHTML;
                            function Marquee() {
                                if (tab.scrollLeft <= 0)
                                    tab.scrollLeft += tab2.offsetWidth
                                else {
                                    tab.scrollLeft--
                                }
                            }
                            var MyMar = setInterval(Marquee, speed);
                            tab.onmouseover = function () { clearInterval(MyMar) };
                            tab.onmouseout = function () { MyMar = setInterval(Marquee, speed) };  
                        </script>
                    </div>
                </div>

                <div class="bgtitle_a fl mt_10">
                    <h3>党务公开<span class="morea"><a href="#">更多>></a></span></h3>
                    <ul>
                        <%=GetColumn("党务公开")%>
                    </ul>
                </div>

                <div class="bgtitle_a fl ml_10 mr_10 mt_10">
                    <h3>村务公开<span class="morea"><a href="#">更多>></a></span></h3>
                    <ul>
                        <%=GetColumn("村务公开")%>
                    </ul>
                </div>

                <div class="bgtitle_a fr mt_10">
                    <h3>办事指南<span class="morea"><a href="#">更多>></a></span></h3>
                    <ul>
                      <%=GetColumn("办事指南")%>
                    </ul>
                </div>

            </div>
            <div class="conright fr">
                <%-- <div class="mail">
                    <a href="#">村长信箱</a> <a href="#">举报信箱</a>
                </div>--%>
                <div class="bgtitle_b  ">
                    <h3>
                        用户登录</h3>
                    <div class="login_div">
                        <table class="login">
                            <tr>
                                <th>
                                    用户名：
                                </th>
                                <td>
                                    <asp:TextBox ID="txt_UserName" CssClass="txt" runat="server" Width="110px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <th>
                                    密&nbsp;&nbsp;码：
                                </th>
                                <td>
                                    <asp:TextBox ID="txt_Password" CssClass="txt" TextMode="Password" runat="server"
                                        Width="110px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                                <td>
                                    <asp:ImageButton ID="cmd_Ok" runat="server" ImageUrl="~/images/g27.jpg" OnClick="cmd_Ok_Click" />&nbsp;&nbsp;
                                    <asp:ImageButton ID="cmd_Reset" runat="server" ImageUrl="~/images/g28.jpg" onclick="cmd_Reset_Click" />
                                    <br />
                                    <asp:Literal ID="ltl" runat="server"></asp:Literal>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="bgtitle_b mt_10 kk">
                    <h3>
                        快速链接</h3>
                    <ul>
                        <%-- <li><a href="#">
                            <img src="images/g15.gif" /></a></li>--%>
                        <li class="mt_10"><a href="UI/Location.aspx" target="_blank"><img src="images/1.gif" /></a></li>
                        <li class="mt_10"><a href="UI/Weather.aspx" target="_blank"><img src="images/2.gif" /></a></li>
                         <li class="mt_10"><a href="UI/LeaveWordList.aspx" target="_blank"><img src="images/3.gif" /></a></li>
                    </ul>
                </div>
                <div class="bgtitle_b mt_10">
                    <h3>
                        通知通报<span class="morea"><a href="#">更多>></a></span></h3>
                    <ul>
                        <%=GetColumn("通知通报", 12)%>
                    </ul>
                </div>
                <div class="bgtitle_b mt_10">
                    <h3>
                        企业风采<span class="morea"><a href="#">更多>></a></span></h3>
                    <ul>
                        <%=GetColumn("企业风采", 12)%>
                    </ul>
                </div>
               
            </div>
        </div>

        <div id="footter" class="mt_10">
            <div class="links">
                <ul>
                    <li><a href="http://www.qlxf.gov.cn/" target="_blank">齐鲁先锋网</a></li>
                    <li><a href="http://www.cyzzb.com/index.html" target="_blank">昌邑市党建网</a></li>
                    <li><a href="http://www.changyi.gov.cn/" target="_blank">昌邑市政府网</a></li>
                    <li><a href="http://www.cyzzb.com/xn/dangxiao/" target="_blank">昌邑市远程教育</a></li>                    
                    <li><a href="http://dxscg.org/" target="_blank">大学生村官在线</a></li>
                    <%--<li style="margin-right: 0">5 </li>--%>
                </ul>
            </div>
            <div class="mt_10">
                <div class="ab">
                    <a href="#">关于我们</a> | <a href="#">收藏本站</a> | <a href="#">设为首页</a> | <a href="#">联系我们</a></div>
                <p>
                    技术支持:上山下乡工作室 QQ:95306977 联系电话：18678011316 13869647062</p>
            </div>
        </div>
    </div>
    </form>
</body>
